#include "MyString.h"
#include "TelInfo.h"
#include <stdio.h>

enum data
{
    INSERT = 1,
    DELATE,
    FIND,
    MODFIY,
    PRINT,
    QUIT
};

int main()
{
    
    Init_Info();

    while(1)
    {
        
        UI();
        int n = 0;
        scanf("%d",&n);
        switch(n)
        {
            case INSERT:
                printf("当前正在新增一名学生信息\n");
                In_Person();
                break;
            case DELATE:
                Del_Person();
                break;
            case FIND:
                Find_Person();
                break;
            case MODFIY:
                Mod_Person();
                break;
            case PRINT:
                Show_Person();
                break;
            case QUIT:
                return 0;
                break;
            default:
                printf("请输入正确序号！\n");
                break;
        }
    }
    return 0;
}